package cn.tedu.ivos.user.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author liyuehui
 * @time 2024/7/4 9:50
 */
@Data
public class UserLoginDTO {
    @ApiModelProperty(value = "用户名", example = "tom", required = true)
    @NotEmpty(message = "用户名不能为空")
    private String username;
    @ApiModelProperty(value = "密码", example = "123456", required = true)
    @NotEmpty(message = "密码不能为空")
    private String password;
}
